package com.blb.ioc;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class ComputerDemo03 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ComputerConfig.class);
        Computer computer = context.getBean(Computer.class);
        computer.start();
    }
}
